package neurons;

public class FonctionDeSeuil implements FonctionDeSeuilInterface {

	private double indice = 0.5;

	@Override
	public Signal propagate(Signal signal) {
		if (signal.getData() > indice) {
			return signal;
		}
		return new NullSignal();
	}

}
